package com.yitao.cms.service.order;

import com.skipper.base.service.GenericEntityService;
import com.yitao.client.dto.order.MallOrderLogDto;
import com.yitao.client.model.order.MallOrderLogModel;
import com.yitao.client.model.order.QMallOrderLogModel;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.persistence.EntityManager;

@Service
public class CmsMallOrderLogService extends GenericEntityService<MallOrderLogModel, MallOrderLogDto, QMallOrderLogModel> {
    public CmsMallOrderLogService(EntityManager entityManager) {
        super(entityManager);
    }

    @Transactional
    public void save(MallOrderLogModel mallOrderLogModel) {
        MallOrderLogModel save = repository.save(mallOrderLogModel);
    }
}
